bp = [
    [1, 0],
]
n = int(input())
for i in range(n + 1):
    bp[i + 1][0].append(bp[i][0] + bp[i][1])
    bp[i + 1][1].append(bp[i][0])

bp[i + 1][0] + bp[i + 1][1]
